<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Facelet Title</title>
        <h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>
    <h:body>
        Hello from Facelets
        <br />
        <h:link outcome="welcomePrimefaces" value="Primefaces welcome page" />
        <br />
        <h:link outcome="/pages/categorie/List" value="Show All Categorie Items"/>
        <br />
        <h:link outcome="/pages/commande/List" value="Show All Commande Items"/>
        <br />
        <h:link outcome="/pages/details/List" value="Show All Details Items"/>
        <br />
        <h:link outcome="/pages/produit/List" value="Show All Produit Items"/>
        <br />
        <h:link outcome="/pages/produitCommande/List" value="Show All ProduitCommande Items"/>
        <br />
        <h:link outcome="/pages/stock/List" value="Show All Stock Items"/>
        <br />
        <h:link outcome="/pages/utilisateur/List" value="Show All Utilisateur Items"/>
        <h3>Fade</h3>  
            <p:imageSwitch effect="fade">  
            <ui:repeat value="#{galleria.images}" var="image">  
              <p:graphicImage value="#{image}" />  
            </ui:repeat>  
            </p:imageSwitch> 
    </h:body>
</html>

